import { takeEvery } from 'redux-saga/effects'
import count from './countSage'
import arr from './arrSage'

// takeEvery  开启每个任务
// call   发起请求
// put    代替dispatch
// https://api-hmugo-web.itheima.net/api/public/v1/home/swiperdata

function* rootSage() {
    yield takeEvery("COUNT_SAGE", count)
    yield takeEvery("ARR_SAGE", arr)
}


export default rootSage